package cn.dylan.basic.service;

import cn.dylan.basic.query.BaseQuery;
import cn.dylan.basic.util.PageList;
import java.util.List;

public interface IBaseService<T> {
    List<T> loadAll();
    T LoadById(Long id);

    void save(T t);
    void update(T t);
    void delete(Long id);

    PageList<T> queryPage(BaseQuery query);

    void patchDelete(List<Long> ids);

}
